package com.idheima.zuoye.zuoye2;

public class Recruiter extends Fu{
    private double commission;

    public Recruiter(String name, int id, double money, double commission) {
        super(name, id, money);
       this.commission = commission;
    }

    @Override
    public void work() {
        System.out.println("工号为："+getId()+"的招聘助理"+getName()+","+"拿着："+getMoney()+"工资"+"正在Boss直聘上招人，招一个提成为："+commission+"元");
    }
}
